import AutoImport from 'unplugin-auto-import/vite';
export const createAutoPlugion = () => {
  return AutoImport({
    imports: [
      //自动引入react-router-dom
      'react-router-dom',
      'react',
      'ahooks',
    ],
    dts: 'src/types/auto-import.d.ts',
  });
};
